package com.Cheng.service;

import com.Cheng.pojo.Income;
import com.Cheng.pojo.Outcome;

import java.util.List;

/**
 * @Author Cheng
 * @Date 2022/4/10 15:52
 */
public interface OutcomeService {
    //增加一本书
    int addOutcome(Outcome outcome);
    //删除一本书
    int deleteOutcomeById(int id);
    //更新一本书
    int updateOutcome(Outcome outcome);
    //查询一本书
    Outcome queryOutcomeById(int id);
    //查询全部的书
    List<Outcome> queryAllOutcome();
}
